package com.topway.dsmflex.model.synchro;

import java.io.Serializable;




/**
 * 
 *  @author liusy 2013-05-03
 *
 */
public class DataColumnBean  implements Serializable{
	
	public DataColumnBean(String columnNameSource){
		this.columnNameSource = columnNameSource;
		this.columnNameTarget = columnNameSource;
		
	}
	public DataColumnBean(String columnNameSource,String columnNameTarget){
		this.columnNameSource = columnNameSource;
		this.columnNameTarget = columnNameTarget;
		
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String columnNameSource;//源列名
	private String operator;//目标操作(>,<,=,like,in)
	private String inputValue;//(100)
	private String logic;//(and,or)
	
	private String isKey;//主键，可以多个，对目标表更新到源表操作，以主键为条件(YES,NO)
	private String updateValue;//从源表更新或新增到目标表后，需要将源表的数据的状态的字段更新
	private String columnNameTarget;//目标列名
	private String colExpress;//从源表更新or新增到目标表的表达式值过滤
	
	
	
	
	
	public String getColumnNameSource() {
		return columnNameSource;
	}
	public void setColumnNameSource(String columnNameSource) {
		this.columnNameSource = columnNameSource;
		this.columnNameTarget = columnNameSource;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public String getInputValue() {
		return inputValue;
	}
	public void setInputValue(String inputValue) {
		this.inputValue = inputValue;
	}
	public String getLogic() {
		return logic;
	}
	public void setLogic(String logic) {
		this.logic = logic;
	}
	public String getIsKey() {
		return isKey;
	}
	public void setIsKey(String isKey) {
		this.isKey = isKey;
	}
	public String getUpdateValue() {
		return updateValue;
	}
	public void setUpdateValue(String updateValue) {
		this.updateValue = updateValue;
	}
	public String getColumnNameTarget() {
		return columnNameTarget;
	}
	public void setColumnNameTarget(String columnNameTarget) {
		this.columnNameTarget = columnNameTarget;
	}
	public String getColExpress() {
		return colExpress;
	}
	public void setColExpress(String colExpress) {
		this.colExpress = colExpress;
	}
	
	
	
	
}
